<!DOCTYPE html>
<html lang="en">
<head>
    <title>数据权限</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <link href="../css/commen.css" rel="stylesheet" type="text/css" />
    <script src="../../../scripts/boot.js" type="text/javascript"></script>
    <script src="../../../../js/dateUtil.js" type="text/javascript"></script>
</head>
<body>
<!-- 按钮栏 -->
<div style="width:100%;height: 32px">
    <div class="mini-toolbar" style="border:0;padding:0px;">
        <table style="width:100%;">
            <tr>
                <td style="width:100%;">
                    <!--plain="true"   :添加该属性，按默认显示没边框-->
                    <a id="saveBtn" class="mini-button" iconCls="icon-add" onclick="save()" enabled="false">保存</a>

                    <!--<a id="removeBtn" class="mini-button" iconCls="icon-remove" onclick="remove()" >删除</a>-->
                </td>
            </tr>
        </table>
    </div>
</div>
<!-- 拆分 -->
<div class="mini-splitter" style="width: 100%;height: 100%" id="sp"
     onresize="resize" oncollapse="resize" onexpand="resize">
    <div size="30%" showCollapseButton="true">
        <!-- 当前登陆用户信息 -->
        <div id="datagrid1" class="mini-datagrid" style="width: 100%; height: 94vh;" allowCellSelect="true"
             onSelectionChanged="SelectionChanged"     multiSelect="false" showFilterRow="true" idField="roleId" showPager="false"
           >
            <div property="columns">
                <!-- <div type="indexcolumn"></div>  -->
                <div type="checkcolumn"></div>
                <div field="id" width="100" headerAlign="center" align="center" visible="false">ID</div>
                <div field="userName" width="100" headerAlign="center" align="center">账号编码
                    <input id="rcFilter" property="filter" class="mini-textbox" style="width: 100%;"
                           onvaluechanged="onFilterChanged" />
                </div>
                <div field="uName" width="100" headerAlign="center" align="center" >账号名称
                    <input id="rnFilter" property="filter" class="mini-textbox" style="width: 100%;"
                           onvaluechanged="onFilterChanged" />
                </div>
            </div>
        </div>

    </div>
    <div showCollapseButton="true">
        <!-- 当前登陆人能看到的用户列表 -->
        <div>
            <input id="searchCols" class="mini-comboBox" style="width:150px;" textField="formName" valueField="formListId"
                       onvaluechanged="search"  />
        </div>
        <div id="datagrid2" class="mini-datagrid" style="width: 100%; height: 100%;" allowCellSelect="true"
          onselectRow="tosave"       multiSelect="false" showPager="false" onSelectionChanged="tosave">
            <div property="columns">
                <div type="checkcolumn"></div>


            </div>

        </div>
    </div>
</div>


</body>
</html>
<script type="text/javascript" src="../js/Datapermission.js"></script>